root {
    display: block;
}

body,html {height:100%}

body {
    background: url(../img/bg.png) #919191 top left repeat-x;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.7em;
    margin: 0px;
    padding: 0px;
    top: 0px;
}

div {
    /*border: 1px #f0f0f0 solid;*/
    background-color:inherit;
}

#wrap {
    background: url(../img/bg_header.png) transparent top left repeat-x;
    width: 100%;
    height: 100%;
    margin:0px;
}

#header {
    width: 100%;
    margin: 0 auto;
    display: block;
    background: none;
}

#logo {
    margin: 0 0 10px 10px;
    padding: 5px 0 0 20px;
    width: 200px;
    background: url(../img/bg_logo.png) transparent top left no-repeat;
    float: left;
}

#logo img{
    border: none;
}

#auth {
    float: right;
    margin: 35px 15px 0px 0px;
}
#auth div {
    float: right;
    margin-right: 5px;
}
.option_menu {
    width: 45px;
    height: 45px;
    background: url(../img/bgOptionMenu.png) transparent center left repeat-x;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    vertical-align: bottom;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.5em;
    line-height: 55px;
    color: #FFF;
}
#module {
    width: 155px;
    font-weight: bold;
    text-transform: uppercase;
    padding-top: 10px;
    color: #888;
}
#user{
    width: 170px;
    height: 45px;
    background: url(../img/bg_user.png) transparent top left repeat-x;
    border: 1px solid #ccc;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    vertical-align: middle;
}
#name {
    text-align: center;
    font-size: 1em;
    font-weight: bold;
    color: #322176;
}
#place {
    font-size: 0.9em;
    font-weight: bold;
    color: #4d4948;
}
#logout {
    background: url(../img/logout.png) transparent center left no-repeat;
    text-transform: uppercase;
    font-size: 1em;
    font-weight: bold;
}
#logout a{
    display: block;
    padding: 1px 5px;
    text-decoration: none;
    color: #4d4948;
}


#menu {
    float: left;
    clear: left;
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
}

#menu ul {
    margin: 0;
    list-style: none;
}

#menu li {
    display: block;
    float: left;
    white-space: nowrap;
    margin-left: 5px;
}

#menu li a {
    display: block;
    padding: 1px 5px;
    background: #96aebe;
    text-decoration: none;
    font-weight: bold;
    color: #231f1d;
    border: 3px #96aebe solid;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

#menu li a.current  {
    color: #28166f;
    background: #fff;
    border: 3px #b2cad7 solid;

}

#menu li a:hover  {
    color: #28166f;
    background: #EEF;
    border: 3px #b2cad7 solid;
}

#main {
    width: 96%;
    /*height: 100%;*/
    min-height: 70%;
    display: block;
    margin: 0 auto;
    padding: 5px;
    clear: both;
    background: #fff;
    -moz-border-radius-topright: 10px;
    -moz-border-radius-topleft: 10px;
    -webkit-border-top-right-radius: 10px;
    -webkit-border-top-left-radius: 10px;
    border:3px solid #b2cad7 ;
    border-bottom:0px;
}

#breadcumbs {
    float: left;
    clear: left;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.85em;
    color: #e98227;
}

#breadcumbs a {
    padding: 1px 5px;
    text-decoration: none;
    color: #343434;
}

#sidebar {
    float: right;
    clear: right;
    width: 19%;
    /*height: 100%;*/
    min-height: 205px;
    max-width: 20em;
    background-color: #b4cad6;
}
#sidebar h3{
    margin-top: 0px;
    padding: 2px 0px 2px 10px;
    background: #9dcbdb;
    text-transform: uppercase;
    color: #4d4948;
}
#sidebar img {
    float: left;
    padding: -4px;
    border: none;
    text-decoration: none;
}
#sidebar ul {
    float: left;
    clear: both;
    margin: 0;
    padding: 0;
    list-style: none;
}

#sidebar li {
    display: block;
    float: left;
    clear:left;
}

#sidebar li a {
    display: block;
    width: 169px;
    padding: 2px 5px 2px 10px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 18px;
    vertical-align: middle;
    color: #3a2d7c;
}

#sidebar li a.current_opc, #sidebar li a:hover  {
    margin-left: -10px;
    padding-left: 20px;
    color: #3a2d7c;
    background: #eff3f6;
}


#content {
    float: left;
    clear: left;
    width: 100%;
    /*height: 100%;*/
    min-height: 160px;
    background-color: #f0f3f6;
}

#footer {
    width: 96%;
    height: 30px;
    background: #b2cad7;
    padding-left: 10px;
    margin: 0 auto;
    clear: both;
    border:3px solid #b2cad7 ;
    border-top: 0px;
}

#footer_text {
    padding: 3px 0 3px 0;
    line-height:0.95em;
    font-size: 0.9em;
    font-weight: bold;
}

#footer_effect {
    height: 22px;
    padding: 0px 5px 0px 0px;
    margin: 0px;
    background: url(../img/footer_effect.png) #f0f3f6 top left no-repeat;
    text-align: right;
    text-transform: uppercase;
    vertical-align: bottom;
    line-height: 22px;
    font-size: 0.9em;
    font-weight: bold;
}

#footer_down {
    height:100%;
    padding: 0px;
    margin: 0px;
    background: #b2cad7;
    font-size: 0.7em;
}

.centrar{
    text-align:center;
}
.derecha{
    text-align:right;
}
.izquierda{
    text-align:left;
}
.num{
    font-family:"Consolas","Courier New","Courier";

}
.nowrap{
    white-space:nowrap;
}

.link{
    color:#1077CD;
    text-decoration:none;
    font-size:small;
    text-align:right;
    font-weight:bold;
}
.link:hover{
    color:#1174C5;
}

.label{
    text-align:right;
    color:#666666;
    padding-right:5px;
}
.input{
    text-align:left;
    padding-left:5px;
}
.resalte{
    text-align:left;
    font-weight:bold;
}
h1{
    font-size:large;
    text-align:left;
}

h2{
    font-size:medium;
}

h3{
    font-size:small;
    font-variant:small-caps;
}

fieldset{
    -moz-border-radius: 6px;
    background-image:url(../images/fieldset_bkg.png);
    background-repeat:repeat-x;
}
legend{
    color:#1077CD;
    font-weight:700;
    font-size:smaller;
    margin-top:0px;
    padding-top:0px;
}
p{
    font-size:12px;
}

.nota{
    font-size:xx-small;
    color:#CAC8CC;
}

.messages_content{

    display:inline-table;
    margin-top:5px;
    margin-left:10px;
    margin-right:10px;
    width:98%;
    border: groove 2px #1174C5;
    -moz-border-radius: 6px;
    -webkit-border-radius: 4px;
}

.warn{
    display:table;
    padding-left:40px;
    padding-top:5px;
    padding-bottom:5px;
    color:#F76F00;
    background-image:url(../img/warn.png);
    background-position:left;
    background-repeat:no-repeat;
    height:26px;
    text-align:left;
}

.error{
    display:table;
    padding-left:40px;
    padding-top:5px;
    padding-bottom:5px;
    color:#FF0B0B;
    background-image:url(../img/error.png);
    background-position:left;
    background-repeat:no-repeat;
    height:26px;
    text-align:left;
}

.info{
    display:table;
    padding-left:40px;
    padding-top:5px;
    padding-bottom:5px;
    color:#1174C5;
    background-image:url(../img/info.png);
    background-position:left;
    background-repeat:no-repeat;
    height:26px;
    text-align:left;
}